<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="jt.classic.system.context.ISystemContext"%>
<%@ page import="org.limp.mine.StringTool"%>
<%@ page import="jt.classic.system.user.IUser"%>
<%
	response.setHeader("Pragma","No-cache");//HTTP 1.1 
	response.setHeader("Cache-Control","no-cache");//HTTP 1.0 
	response.setHeader("Expires","0");//防止被proxy 

	String context = ISystemContext.getContextPath();
	String tabIndex = StringTool.checkString(request
			.getParameter("tabIndex"));

	IUser user = ISystemContext.getSessionUser(request);
%>
<script>var context = "<%=context%>";</script>
<link href="<%=context %>/site/templatemo_style.css" rel="stylesheet"
	type="text/css" />
<script type="text/javascript" src="<%=context %>/site/js/index.js"></script>	

<div id="templatemo_header_wrapper">
<div id="templatemo_header">
<div id="logo"></div>
<div id="title"></div>
<div id="search_section"> <span><%
 if (user == null) {
 %>
<script>var userType = "login";</script> 
<div style="margin-left:40px;">欢迎来到百事贷，请 <a id="loga">登录</a> | <a id="rega">注册</a></div>
<%
} else {
%>
<script>var userType = "<%=user.itype()%>";</script>
<div style="margin-left:40px;"><%=user.iname()%><a id="logouta">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></div>
<%
}
%> </span></div>
<div class="cleaner"></div>
</div>
<!-- end of header --></div>
<!-- end of header wrapper -->
<div id="templatemo_menu_wrapper">
<div id="templatemo_menu">
<ul>
	<li><a href="/" <%if(tabIndex.equals("0")){ %> class="current"
		<%} %>><span>首页</span></a></li>
	<li><a href="#" id="idx2" <%if(tabIndex.equals("1")){ %> class="current"
		<%} %>><span>供应链融资</span></a></li>
	<li><a href="#" <%if(tabIndex.equals("2")){ %> class="current"
		<%} %>><span>小额贷</span></a></li>
	<li><a href="#" <%if(tabIndex.equals("3")){ %> class="current"
		<%} %>><span>创意融资</span></a></li>
	<li><a href="#" <%if(tabIndex.equals("4")){ %> class="current"
		<%} %>><span>资讯</span></a></li>
	<li><a href="#" <%if(tabIndex.equals("5")){ %> class="current"
		<%} %>><span>论坛</span></a></li>
	<li><a href="#" <%if(tabIndex.equals("6")){ %> class="current"
		<%} %>><span>服务</span></a></li>
	<li><a href="#" <%if(tabIndex.equals("7")){ %> class="current"
		<%} %>><span>手机应用</span></a></li>
</ul>
</div>
<!-- end of menu --></div>
